package se.sll.service.catalogue.common.data;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.Data;
import lombok.NonNull;

@Data
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class ProductReference implements Serializable{
    
    static final long serialVersionUID = 1L;
    
    @XmlElement(name="productReference")
    private String productReference;

    public ProductReference() {
    }
    
    public ProductReference(@NonNull String productReference) {
        this.productReference = productReference;
    }
}